SelectAll Method

Summary
Selects or un-selects all of the cells in the MedicalViewer control.
Syntax
C#
C++/CLI
public void SelectAll( 
   bool select 
) 
            public: 
void SelectAll(  
   bool select 
)  

Parameters

select
true to select all cells, false to un-select all cells.

Example
C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.MedicalViewer; 
using Leadtools.ImageProcessing.Core; 
 
public void MedicalViewerCellCollectionExample() 
{ 
   int index; 
   MedicalViewerForm myForm = GetMedicalControl(); 
   MedicalViewer medicalViewer = myForm.Viewer; 
   medicalViewer.Cells.SelectAll(false); 
   for (index = 0; index < medicalViewer.Cells.Count; index++) 
      if ((index % 2) == 0) 
         medicalViewer.Cells[index].Selected = true; 
   medicalViewer.Cells.FreezeSelected(true); 
   myForm.ShowDialog(); 
} 
Requirements

Target Platforms

Help Version 22.0.2023.2.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.